<fieldset class="section">
    <legend>Kiểm tra hàng tồn kho</legend>
    <table class="table-tools">
        <colgroup>
            <col style="width: 150px;">
            <col>
        </colgroup>
        <tr>
            <td>Số lượng từ</td>
            <td>
                <input type="text" id="txtMin" value="0">
            </td>
        </tr>
        <tr>
            <td>Đến</td>
            <td>
                <input type="text" id="txtMax" value="0">
            </td>
        </tr>
    </table>
    <button type="button" onclick="HangTonKho.XemHangTonKho(this);"><span style="display: none;" class="fa-loading fa fa-spin fa-refresh"></span> Xem kết quả</button>
    <button type="button" style="float: right;" onclick="HangTonKho.XemTatCa(this);"><span style="display: none;" class="fa-loading fa fa-spin fa-refresh"></span> Xem tất cả</button>
</fieldset>


<fieldset class="section" style="margin-top: 30px;">
    <legend>Danh sách hàng tồn kho</legend>
    <table class="table-views">
        <colgroup>
            <col style="width: 40px;">
            <col style="width: 300px;">
            <col style="width: 120px;">
            <col style="width: 200px;">
            <col>
        </colgroup>
        <thead>
            <tr>
                <td>STT</td>
                <td>Tên mặt hàng</td>
                <td>Mã mặt hàng</td>
                <td>Số lượng tồn</td>
                <td>Đơn vị tính</td>
            </tr>
        </thead>
    </table>
    <div style="max-height: 400px; overflow-y: auto;">
        <table class="table-views">
            <colgroup>
                <col style="width: 40px;">
                <col style="width: 300px;">
                <col style="width: 120px;">
                <col style="width: 200px;">
                <col>
            </colgroup>
            <tbody>
                <tr class="default-row" style="display: none;">
                    <td class="stt" style="text-align: center;"></td>
                    <td class="ten"></td>
                    <td class="mamathang" style="text-align: center;"></td>
                    <td class="soluong" style="text-align: center;"></td>
                    <td class="donvitinh" style="text-align: center;"></td>
                </tr>
            </tbody>

            <tbody id="container">

            </tbody>
        </table>
    </div>
</fieldset>


<script>
    $("#txtMin").autoNumeric(
        'init', {aSep: ',', mDec: '0', vMax: '999999999999999'}
    );
    $("#txtMax").autoNumeric(
        'init', {aSep: ',', mDec: '0', vMax: '999999999999999'}
    );
</script>